package com.guoheng.safe.sys.dto.basicinfo;

import com.guoheng.safe.common.enums.ControlTypeEnum;
import com.guoheng.safe.common.validator.ValidEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 类功能描述:　TODO
 *
 * @author Eternal
 * @date 2019-57-19 16:57
 */
@Data
public class ControlThresholdAddDTO {

    @ValidEnum(enumClass = ControlTypeEnum.class)
    private Integer controlType;

    @NotBlank
    @Size(max = 255)
    private String sensorNo;

    @Size(max = 255)
    private String sensorDesc;

    private Double sensorLongitude;

    private Double sensorLatitude;

    private Double sensorHeight;

    private Double firstAlarmThreshold;

    private Double secondAlarmThreshold;

    private Double thirdAlarmThreshold;

    private Double fourthAlarmThreshold;
}